<template>
  <div id="app">
    <!-- <router-view/> -->
    <van-nav-bar
  title="扫码"
  left-text=""
  right-text="相册"
  left-arrow
  @click-left="onClickLeft"
  @click-right="onClickRight"
  
/>
<div class="sm">
  <!-- <img src="../image/saoma_icon_saoma" alt=""> -->
  <img src="../image/saoma_icon_saoma.png" alt="">
</div>
  </div>
</template>

<script>
import { Toast } from 'vant';
// import Scan from '../../components/Index/childRoute/Scan.vue'
export default ({
   methods: {
    onClickLeft() {
      // Toast('返回');
      this.$router.push({path:'/home/index'})
    },
    onClickRight() {
      Toast('前边的区域以后再来探索吧');
    },
  },
  // components:{
  //   Scan
  // }
})
</script>

<style lang="scss" scoped>
*{
  margin: 0;
  padding: 0;
}
#app{
  box-sizing: border-box;
  padding-top: 107px;
}
/* .van-nav-bar{
  /* font-size: 34px; */
  /* background: red; */
  /* height: 80px; */
  /* line-height: 80px; */
  /* margin-top: 107px; 
} */
  .van-ellipsis{
    font-size: 34px;
  }
  .van-nav-bar__content{
    background: red;
    height: 80px;
  }
  .sm{
    width: 750px;
    height: 1380px;
    background: #F5F5F5;
    border-radius: 0px 0px 0px 0px;
    opacity: 1;
    text-align: center;
    /* in: 1380px; */
    line-height: 1380px;
    img{
      width:434px ;
      height: 434px;
    }
  }
</style>